package cn.qicaiwang.open.system.service;

import cn.qicaiwang.open.system.model.dto.SystemRoleDTO;
import cn.qicaiwang.open.system.model.entity.SystemRole;
import cn.qicaiwang.open.system.model.req.SystemRoleREQ;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ISystemRoleService extends IService<SystemRole> {
    Page<SystemRole> pageList(Page page, SystemRoleREQ params);

    boolean saveBean(SystemRoleDTO systemRoleDTO);

    boolean updateBean(SystemRoleDTO systemRoleDTO);

    List<SystemRole> selectListByUserId(String id);



    Boolean restore(List<String> ids);

    Boolean clear();

    Page<SystemRole> recyclebin(Page page);
}
